import request from "@/utils/request";


// 获取联系我们
export function c () {
    return request ({
        url: 'backend/contact/index',
        method: 'GET'
    })
}

// 修改联系我们
export function xg ( data ) {
    console.log (data)
    return request ({
        url: 'backend/contact/update',
        method: 'POST',
        data: {
            id: data.id,
            address: data.address,
            phone: data.phone,
            email: data.email,
            wCode: data.w_code,

        }
    })
}

// 修改联系我们获取信息

export function xglxwm ( id ) {
    return request ({
        url: 'backend/contact/edit',
        method: 'GET',
        data: {
            id: id
        }
    })
}
